﻿using System;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.ComponentModel;
using System.Collections;
using System.Collections.Generic;
using BizElements.BusinessLayer;

namespace BizElements.Web
{
    /// <summary>
    /// Extends <see cref="BoundDataGrid"/> functionalities.
    /// </summary>
    public interface IBoundDataGridExtender
    {
        /// <summary>
        /// Assigns the grid which the current instance extends.
        /// </summary>
        /// <param name="grid">Grid.</param>
        /// <remarks>Some implementations may require that the grid is assigned before data is bound.</remarks>
        void AssignToGrid(BoundDataGrid grid);
    }
}